﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Automted_Bank_teller;
using NUnit.Framework;

namespace Project_Tester
{
    [TestFixture]
    class ClientLogin_Tester
    {
        [Test]
        public void Set_data_for_ClientLogin_withNormalParameter()
        {
            Login_Logic login = new Login_Logic();
            bool actual =login.Set_data_for_ClientLogin("reda","12AR");
            bool expected = true;
            Assert.AreEqual(expected,actual,"error in normal parameter");
        }

        [Test]
        public void Set_data_for_ClientLogin_withouyBoundaryemptyparameter()
        {
            Login_Logic login = new Login_Logic();
            bool actual = login.Set_data_for_ClientLogin(" ", " ");
            bool expected = false;
            Assert.AreEqual(expected, actual, "error in Boundary parameter");
        }

        [Test]
        public void Set_data_for_ClientLogin_withoutboundarynullparameter()
        {
            Login_Logic login = new Login_Logic();
            bool actual = login.Set_data_for_ClientLogin(null, null);
            bool expected = false;
            Assert.AreEqual(expected, actual, "error in out boundary parameter");
        }

    }
}
